![]() |
MovePortTo |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Changes the position of the port rectangle of the current graphics port (basic or color).
void MovePortTo ( SInt16 leftGlobal, SInt16 topGlobal );
The horizontal distance to move the port rectangle.
The vertical distance to move the port rectangle.
The MovePortTo function is normally called only by the Window Manager. The MovePortTo function changes the position of the current graphics port’s port rectangle: the leftGlobal and topGlobal parameters set the distance between the upper-left corner of the boundary rectangle and the upper-left corner of the new port rectangle.
This does not affect the screen; it merely changes the location at which subsequent drawing inside the graphics port appears. Like the PortSize function, MovePortTo doesn’t change the clipping or visible region, nor does it affect the local coordinate system of the graphics port.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)